package cn.johnyu.consumer;

import cn.johnyu.consumer.client.HelloWorld;
import cn.johnyu.consumer.client.HelloWorldImplService;

public class ConsumerApp {
    public static void main(String[] args) {
        //可选： 用于设置系统属性来开启SOAP消息的日志记录。
//        System.setProperty("com.sun.xml.ws.transport.http.client.HttpTransportPipe.dump", "true");
//        System.setProperty("com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe.dump", "true");
//        System.setProperty("com.sun.xml.ws.transport.http.HttpAdapter.dump", "true");
//        System.setProperty("com.sun.xml.internal.ws.transport.http.HttpAdapter.dump", "true");


        HelloWorld service = new HelloWorldImplService().getHelloWorldImplPort();
        System.out.println(service.sayHello("World"));
    }
}
